/*
 * @Author: AI Assistant
 * @Date: 2024-12-19
 * @Description: 轮播图管理模块
 */
import { Module } from '@nestjs/common';
import { CarouselService } from './carousel.service';
import { CarouselController } from './carousel.controller';
import { DbModule } from '@libs/db';
import { TypegooseModule } from 'nest-typegoose';
import { Carousel } from '@libs/db/models/carousel.model';

@Module({
  imports: [
    DbModule,
    TypegooseModule.forFeature([Carousel])
  ],
  controllers: [CarouselController],
  providers: [CarouselService],
  exports: [CarouselService],
})
export class CarouselModule {}